<extend name="Public/base_mobile" />
<block name="head_css">
	<link rel="stylesheet" href="__SALEM_V3__/css/pay.pkg.css">
</block>
<block name="content">
      <div id="j-mask" class="u-mask f-hide"></div>
      <!-- 主体 -->
      <div class="g-bd">
       <div class="row row-1">
              <a>请支付</a>
              <a>￥{$shop_order.goods_deposit}</a>
              <a>定金</a>
          </div> 
          <div class="row row-2">
              <h4>请选择支付方式</h4>
              <ul>
                  <li>
                      <a href="{:U('Shop/payAlipayTip',array('id'=>(int)I('id')))}">
                          <span><img width="30" src=""></span>
                          <span>支付宝</span>
                          <div class="btn-enter"></div>  
                      </a>
                  </li>
                  <if condition="$weixin">
                   <li>
                       <a id="btn-pay">
                           <span><img width="30" src=""></span>
                           <span>微信支付</span>
                           <div class="btn-enter"></div>
                       </a>
                   </li>
                  </if>
              </ul>
          </div>  
      </div>
      <script>
    	var url = "{:U('/Shop/payment')}";
    	var id = {:(int)I('get.id')};
    	var open_id = "{:I('get.open_id','')}";
    	var pay_type = 'wechatwappay';
	</script>
	<script type="text/javascript" src="__STATIC__/jquery-1.11.3.js?v={:C('TKE_VERSION')}"></script>
	<script src="__SALEM__/js/pay_mobile.js"></script>
</block>